package com.thl.annotation;

import com.thl.common.enums.BusinessScene;
import com.thl.common.enums.ServiceDescription;
import org.springframework.stereotype.Service;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Repeatable(ServiceProcessors.class)
//@Service  暂时还是把这个注解显示的加在业务类上
public @interface ServiceProcessor {

    BusinessScene businessScene();

    ServiceDescription serviceDescription();

}
